package haoyou.csnf.manager.module.pm.controller.admin.rulesclasshour.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.math.BigDecimal;
import com.alibaba.excel.annotation.*;
import haoyou.csnf.manager.framework.excel.core.annotations.DictFormat;
import haoyou.csnf.manager.framework.excel.core.convert.DictConvert;

@Schema(description = "管理后台 - 课时费规则 Response VO")
@Data
@ExcelIgnoreUnannotated
public class RulesClasshourRespVO {

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "19715")
    @ExcelProperty("主键ID")
    private Integer id;

    @Schema(description = "职称ID", example = "25178")
    @ExcelProperty("职称ID")
    private Integer tieId;

    @Schema(description = "类型", example = "1")
    @ExcelProperty(value = "类型", converter = DictConvert.class)
    @DictFormat("tie_type") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private String empType;

    @Schema(description = "课时标准")
    @ExcelProperty("课时标准")
    private BigDecimal amount;

    @Schema(description = "预留金额")
    @ExcelProperty("预留金额")
    private BigDecimal reserve;

}